function Person(name, num) {
  this.name = name
  this.num = num
}

var p1 = new Person("yz", 10)
console.log(p1.name, p1.num)
var p2 = new Person("nb", 20)
console.log(p2.name, p2.num)

